//
//  YHShip.h
//  ThunderWarriors
//
//  Created by mac on 13-6-22.
//
//

#ifndef __ThunderWarriors__YHShip__
#define __ThunderWarriors__YHShip__
#include "cocos2d.h"
#include "YHCollideSprite.h"

using namespace cocos2d;

class YHShip: public YHCollideSprite {
public:
    YHShip();
    ~ YHShip();
    virtual bool init();
    virtual void destroy();
    virtual void hurt();
    virtual CCRect getCollideCrect();
    virtual void shoot(float dt);
    inline bool getIsActive(){return m_isActive;}
    
    CREATE_FUNC(YHShip);
    
private:
    int m_HP;
    bool m_isActive;

};

#endif /* defined(__ThunderWarriors__YHShip__) */
